home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / x11 / xutil.h < prev   
Encoding:
C/C++ Source or Header  |  1995-04-21  |  1.5 KB  |  32 lines  |  [TEXT/KAHL]

  1. /* Definitions used in X utility programs.
  2.    Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. typedef void (*readimf_hook) PROTO ((ImageFamily *));
  10.  
  11. extern void close_displays PROTO ((void));
  12. extern int write_entire_game_state PROTO ((char *fname));
  13. extern void low_init_error PROTO ((char *str));
  14. extern void low_init_warning PROTO ((char *str));
  15. extern void low_run_error PROTO ((char *str));
  16. extern void low_run_warning PROTO ((char *str));
  17. extern int keyword_code PROTO ((char *str));
  18. extern Image *read_xbm_file PROTO ((char *filename, ImageFamily *imf,
  19.                     readimf_hook hook));
  20. extern Image *read_xpm_file PROTO ((char *filename, ImageFamily *imf,
  21.                     readimf_hook hook));
  22. extern void parse_xpm_colors PROTO ((char *name, int *r, int *g, int *b)); 
  23. extern void write_xpm_file PROTO ((FILE *fp, char *name, Image *img));
  24. extern void write_x11_bitmaps PROTO ((ImageFamily *imf, int mkfiles));
  25. extern void write_xbm_file PROTO ((FILE *fp, char *name, int cols, int rows,
  26.                    char *data)); 
  27. extern int read_imf_file PROTO ((char *filename, readimf_hook hook));
  28. extern void interp_form_imfonly PROTO ((Obj *form, readimf_hook hook));
  29. extern char *find_imf_name PROTO ((char *rawname));
  30. extern int read_any_file PROTO ((char *filename, readimf_hook hook));
  31. extern void reverse_rawdata PROTO ((ImageFamily *imf));
  32.